package com.heys.demo;

public class Father {

    private boolean hasChidren;

    private boolean isMan;

    private String name;

    public boolean isFaher(){
        return hasChidren && isMan;
    }

    public boolean isHasChidren() {
        return hasChidren;
    }

    public void setHasChidren(boolean hasChidren) {
        this.hasChidren = hasChidren;
    }

    public boolean isMan() {
        return isMan;
    }

    public void setMan(boolean man) {
        isMan = man;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
